//
//  CarouselFigureView.h
//  UIImageView
//
//  Created by WangZe on 15/11/26.
//  Copyright © 2015年 王泽龙. All rights reserved.
//

#import <UIKit/UIKit.h>
#define SCOLLERWIDTH self.scrollView.frame.size.width
#define SCOLLERHEIGHT self.scrollView.frame.size.height

@protocol CarouselFigureViewDelegate <NSObject>

- (void)pushVC:(NSInteger)tag;

@end


@interface CarouselFigureView : UIView<UIScrollViewDelegate,  BaseImageViewDelegate>
{
     NSInteger flag;
}
@property(nonatomic, strong) NSMutableArray *array;
@property(nonatomic, strong) NSTimer *myTimer;
@property(nonatomic, retain) UIPageControl *page;
@property(nonatomic, retain) UIScrollView *scrollView;

- (instancetype)initWithFrame:(CGRect)frame withArray:(NSArray *)array;

@property(nonatomic, assign)id<CarouselFigureViewDelegate>delegate;

@end
